package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 角色和权限关联表(RolePermission)实体类
 *
 * @author makejava
 * @since 2024-05-01 23:30:28
 */


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("dm_role_permission")
public class RolePermission implements Serializable {
    private static final long serialVersionUID = 805913929728372415L;

    //角色Id
    private Integer roleid;
    //权限Id
    private Integer pid;
}

